import request from '@/utils/request'

// 查询默认收费项状态中间表列表
export function listDefaultcharges(query) {
  return request({
    url: '/defaultcharges/defaultcharges/list',
    method: 'get',
    params: query
  })
}

// 查询默认收费项状态中间表详细
export function getDefaultcharges(id) {
  return request({
    url: '/defaultcharges/defaultcharges/' + id,
    method: 'get'
  })
}

// 新增默认收费项状态中间表
export function addDefaultcharges(data) {
  return request({
    url: '/defaultcharges/defaultcharges',
    method: 'post',
    data: data
  })
}

// 修改默认收费项状态中间表
export function updateDefaultcharges(data) {
  return request({
    url: '/defaultcharges/defaultcharges',
    method: 'put',
    data: data
  })
}

// 删除默认收费项状态中间表
export function delDefaultcharges(id) {
  return request({
    url: '/defaultcharges/defaultcharges/' + id,
    method: 'delete'
  })
}
